Optimal. Leaf size=87 \[ \frac{\sqrt{a} \sqrt{1-\frac{b x^2}{a}} \sqrt{\frac{d x^2}{c}+1} \text{EllipticF}\left (\sin ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right ),-\frac{a d}{b c}\right )}{\sqrt{b} \sqrt{a-b x^2} \sqrt{c+d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0537777, antiderivative size = 87, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {421, 419} \[ \frac{\sqrt{a} \sqrt{1-\frac{b x^2}{a}} \sqrt{\frac{d x^2}{c}+1} F\left (\sin ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )|-\frac{a d}{b c}\right )}{\sqrt{b} \sqrt{a-b x^2} \sqrt{c+d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 421
Rule 419
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{a-b x^2} \sqrt{c+d x^2}} \, dx &=\frac{\sqrt{1+\frac{d x^2}{c}} \int \frac{1}{\sqrt{a-b x^2} \sqrt{1+\frac{d x^2}{c}}} \, dx}{\sqrt{c+d x^2}}\\ &=\frac{\left (\sqrt{1-\frac{b x^2}{a}} \sqrt{1+\frac{d x^2}{c}}\right ) \int \frac{1}{\sqrt{1-\frac{b x^2}{a}} \sqrt{1+\frac{d x^2}{c}}} \, dx}{\sqrt{a-b x^2} \sqrt{c+d x^2}}\\ &=\frac{\sqrt{a} \sqrt{1-\frac{b x^2}{a}} \sqrt{1+\frac{d x^2}{c}} F\left (\sin ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )|-\frac{a d}{b c}\right )}{\sqrt{b} \sqrt{a-b x^2} \sqrt{c+d x^2}}\\ \end{align*}
Mathematica [A] time = 0.0605808, size = 87, normalized size = 1. \[ \frac{\sqrt{\frac{a-b x^2}{a}} \sqrt{\frac{c+d x^2}{c}} \text{EllipticF}\left (\sin ^{-1}\left (x \sqrt{\frac{b}{a}}\right ),-\frac{a d}{b c}\right )}{\sqrt{\frac{b}{a}} \sqrt{a-b x^2} \sqrt{c+d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.033, size = 106, normalized size = 1.2 \begin{align*} -{\frac{1}{bd{x}^{4}-ad{x}^{2}+bc{x}^{2}-ac}{\it EllipticF} \left ( x\sqrt{{\frac{b}{a}}},\sqrt{-{\frac{ad}{bc}}} \right ) \sqrt{{\frac{d{x}^{2}+c}{c}}}\sqrt{-{\frac{b{x}^{2}-a}{a}}}\sqrt{-b{x}^{2}+a}\sqrt{d{x}^{2}+c}{\frac{1}{\sqrt{{\frac{b}{a}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{-b x^{2} + a} \sqrt{d x^{2} + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{\sqrt{-b x^{2} + a} \sqrt{d x^{2} + c}}{b d x^{4} +{\left (b c - a d\right )} x^{2} - a c}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{a - b x^{2}} \sqrt{c + d x^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{-b x^{2} + a} \sqrt{d x^{2} + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]